using System;
using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Composite.Regions;
using Jbe.TestSuite.TestDevices.Interface;
using Jbe.TestSuite.Infrastructure.Interface;
using Jbe.Composite.Extensions;
using Jbe.TestSuite.TestDevices.FunctionGenerator.Driver.Applications;

namespace Jbe.TestSuite.TestDevices.FunctionGenerator.Driver
{
    public class Module : IModule
    {
        private readonly IApplicationContainer container;
        

        public Module(IApplicationContainer container)
        {
            this.container = container;
        }


        public void Initialize()
        {
            container.Resolve<ModuleController>().Initialize();    
        }
    }
}
